package com.atguigu;

import com.atguigu.order.SeataOrderMainApplication;
import com.atguigu.order.bean.OrderTbl;
import com.atguigu.order.mapper.OrderTblMapper;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;

/**
 * @author 韩先楚
 */
@SpringBootTest(classes = SeataOrderMainApplication.class)
public class SeataOrderMainApplicationText {

    @Autowired
    private OrderTblMapper orderTblMapper;

    @Test
    public void contextLoads() {
        OrderTbl orderTbl = orderTblMapper.selectByPrimaryKey(1L);
        System.out.println(orderTbl);
    }
}
